#include "time.h"

void TB0_config()
{
    TBCCTL0 &= ~CCIE;                           // CCR0 interrupt enabled
    TBCCR0 = 0;
    TBCTL = TBSSEL_1 | MC_2 | TBCLR;          // SMCLK, contmode, clear TBR
}